Total Complexity | 22 |
Dependencies | 1 |
Dependents | 3 |
Total lines | 210 |
Lines of code | 101 |
Logical lines of code | 51 |
Comment lines | 72 |
Methods | 6 |
Properties | 2 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
log_login_attempt() | 47 | 8 | 38 | |
maybe_block_login_access() | 53 | 5 | 24 | |
restrict_login_to_ips() | 58 | 3 | 16 | |
get_login_attempts_data() | 62 | 3 | 11 | |
reset_login_attempts() | 65 | 2 | 9 | |
__construct() | 79 | 1 | 3 |